CC=g++
CFLAGS=-std=c++0x

BIN=Bin
DIR=TUI
TUI=$(DIR)/tui.cpp

IFACE=$(DIR)/tui.shell.h $(DIR)/tui.usermanager.h $(DIR)/tui.utils.h $(DIR)/tui.filesharing.h $(DIR)/tui.email.h $(DIR)/tui.time.h $(DIR)/tui.webserver.h $(DIR)/tui.calendar.h $(DIR)/tui.todo.h $(DIR)/tui.directory.h
APPS=$(DIR)/tui.shell.cpp $(DIR)/tui.usermanager.cpp $(DIR)/tui.utils.cpp $(DIR)/tui.filesharing.cpp $(DIR)/tui.email.cpp $(DIR)/tui.time.cpp $(DIR)/tui.webserver.cpp $(DIR)/tui.calendar.cpp $(DIR)/tui.todo.cpp $(DIR)/tui.directory.cpp

LIBS=log.o config.o
 
all: $(IFACE) $(APPS) $(TUI) $(LIBS)
	$(CC) $(CFLAGS) $(LIBS) $(APPS) $(TUI) -o $(BIN)/tui-client

